﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel ;
using System.ComponentModel.Design ;

namespace XDesigner.AppFramework.Designer
{
    class AppFrameworkDesigner
    {
        public static AppFrameworkClass GetDesignTimeFramework(IDesignerHost host)
        {
            return AppFrameworkClass.GetDesignTimeFramework(host);
        }

        public static AppFrameworkClass GetDesignTimeFramework(ITypeDescriptorContext context)
        {
            IDesignerHost host =( IDesignerHost ) context.GetService(typeof(IDesignerHost));
            return AppFrameworkClass.GetDesignTimeFramework(host);
        }
    }
}
